local Testor = require("object/Employee")   ---引入
local Testor = Employee:new()	--继承

function Testor:work()   --测试人员类
    print("Testor name:"..self.attr_str_name.." is testing");
end

---test code -----------------------------
local test1=Developer:new();  --创建1号测试人员
test1.attr_str_name="测试1"
print("test1 "..self.attr_str_name.." work content:")
test1:work();

local test2=Develop:new();--创建2号测试人员
test2.attr_str_name="测试2"
print("test2 "..self.attr_str_name.." work content:")
test2:work();